home *** CD-ROM | disk | FTP | other *** search
- Path: news.rain.org!usenet
- From: "Guus Leeuw jr." <guusl@eiffel.com>
- Newsgroups: comp.lang.c
- Subject: Re: ODBC development
- Date: Wed, 13 Mar 1996 16:48:07 -0800
- Organization: Interactive Software Engineering Inc. http://www.eiffel.com/
- Message-ID: <31476CC7.21C8F139@eiffel.com>
- References: <3145CB17.712A@danish.com>
- NNTP-Posting-Host: @outback.eiffel.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.8 i586)
-
- Ihab Badr wrote:
- >
- > I was writing an app which uses ODBC through the CDatabase object
- > supplied with the MFC in Visual C++.
- > For portability purposes we will probably rewrite the app in plain
- > vanilla C for portability purposes and move away from the MFC.
- > This means that I will have to do direct ODBC/API calls.
- > Has anyone got a sample piece of code and some advise to go with it ?
- > I am trying to get a feel for the amount of time and effort that will be
- > involved.
-
- What you could do is read the MFC classes and try to map them into a C
- struct with separate golbal scoped functions.
-
- I'm not too sure, but the way MFC 1.52 used to be written, it may a pretty
- long time to do the wrapping. But on the other hand, it is an excellent
- example. (Microsoft knows how to program for Windows, don't they)
-
- Hope this helps,
- Guus
-